package com.dzsw.javabase.str;

import java.util.StringTokenizer;

public class StringTokenizerSample {

    public static void main(String[] args) {
        String str = "fdlasdsakfdsa%dlsjaflasdkfj_djsfdlkasdj\\";
        for (StringTokenizer st = new StringTokenizer(str, "_%\\", true); st.hasMoreTokens(); ) {
            System.out.println(st.nextToken());
        }
    }
}
